package xcmg.device.dao.mapper.ratingManager;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import xcmg.device.dao.entity.ratingManager.InventoryBusinessConfigDO;
import xcmg.device.service.vo.ratingManager.BasisQueryVO;

import java.util.List;

@Mapper
@Repository
public interface InventoryBusinessConfigDOMapper {
    int deleteByPrimaryKey(String id);

    int insert(InventoryBusinessConfigDO record);

    int insertSelective(InventoryBusinessConfigDO record);

    InventoryBusinessConfigDO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(InventoryBusinessConfigDO record);

    int updateByPrimaryKey(InventoryBusinessConfigDO record);

    List<InventoryBusinessConfigDO> selectByRatingId(BasisQueryVO baiscQueryVO);

    int countByRatingIdClientId(@Param("ratingId") String ratingId,@Param("clientId") String clientId);
}